package com.xinyi.basic.app;

import android.app.Application;
import android.content.Context;

import com.xinyi.basic.action.HandlerAction;

/**
 * @author 新一
 * @date 2023/3/11 15:14
 * @description 全局上下文
 */
public class AppContext implements HandlerAction {

    public static Application mMainContext = null;

    public static void init(Context mainContext) {
        mMainContext = (Application) mainContext.getApplicationContext();
    }
}
